:host{
    position: relative;
}

.options-endpoint{
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    gap: 0.3em;
    margin-top: 0.3em;
    & .endpoint-url{
        flex-grow: 1;
        flex-shrink: 1;
    }
    & .endpoint-method{
        flex-basis: 30%;
        flex-shrink: 0;
    }
}
.endpoint-protocol{
    flex-grow: 1;
    text-align: right;
    & span{
        font-size: 0.55rem;
        color: var(--main);
    }
}
.actions-container{
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5em;
    & button{
        width: max-content;
    }
}
.read-only-controls{
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 1500;
    &:hover{
        & button{
            opacity: 1;
        }
    }
    & button{
        padding: 0.2em 0.6em;
        width: max-content;
        border: 0;
        opacity: 0;
        font-size: 10px;
        outline: none;
        cursor: pointer;
        transform: translate(-100%, 0);
        background-color: var(--main);
        color: var(--text);
        transition: opacity 0.2s ease-in, background-color 0.2s ease-in-out;
        & img{
            width: 100%;
            height: 100%;
        }
        &.icon{
            position: absolute;
            transform: translate(-90%, -10px);
            border-radius: 50%;
            padding-left: 6px;
            width: 24px;
            height: 24px;
        }
        &.bottom{
            transform: translate(-25%, 40px);
            position: absolute;
        }
        &:hover{
            background-color: var(--main);
        }
    }
}